import pandas as pd

stock_data = pd.read_csv('stock_data.csv')

print(stock_data)

print(type(stock_data))

print(stock_data.名称)

a = []
for i in stock_data.名称 :
    if '债' in i :
        b = stock_data[(stock_data.名称 == i)].index.tolist()
        a.append(b[0])

print(stock_data.iloc[a])